import httpmaker from '@/utils/initAxios'
/* eslint-disable */
// param.append('username', 'admin')
// param.append('pwd', 'admin')
// axios({
// 	method: 'post',
// 	url: '/api/lockServer/search',
// 	data: param
// })
export const fileUpdate = function (fileInfo) {
  const param = new URLSearchParams()
  param.append('f_name', fileInfo.f_name)
  param.append('f_path', fileInfo.f_path)
  param.append('id', fileInfo.id)
  /* eslint-disable */
  return httpmaker.post('sfile/update/', param)
}

